﻿using GedeaProject.Business.Parsers.Helpers;
using GedeaProject.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GedeaProject.Business.Parsers
{
    internal class CompanyTextDebitParser
    {
        private Company company;

        internal CompanyTextDebitParser(Company company)
        {
            this.company = company;
        }

        internal string Cuit
        {
            get
            {
                return TextDebitParserFormatter.StringFormat(this.company.Cuit, 11, '0', true);
            }
        }

        internal string Benefit
        {
            get
            {
                return TextDebitParserFormatter.StringFormat(this.company.Benefit, 10, ' ', false);
            }
        }

        internal string NameForBank
        {
            get
            {
                return TextDebitParserFormatter.StringFormat(this.company.NameForBank, 16, ' ', false);
            }
        }
    }
}
